package com.yunban.project.template.service;

import com.yunban.project.template.model.dto.AIArticleFormatReq;
import org.springframework.web.multipart.MultipartFile;

/**
 * @author: lijiajun
 * @date: 2025-03-03
 * @version: 1.0
 */
public interface ArticleAIFormatService {

    /**
     * 排版
     * @param req markdown code
     * @return html code
     */
    String format(AIArticleFormatReq req, MultipartFile file);

    /**
     * word 转 markdown
     * @param file word 文件
     * @return markdown code
     */
    String word2Markdown(MultipartFile file);
}
